package com.tianhui.consignortwofei.mvp.contract;

import com.fgs.common.CommonListView;
import com.fgs.common.CommonPresenter;
import com.tianhui.consignortwofei.mvp.model.enty.DriverInfo;

import java.util.Map;

/**
 * @author fgs
 * @date 2020/5/6
 * @description
 **/
public interface DriverBindContract {
    interface View extends CommonListView {

        void setIsNeedRequestDriverList(boolean isNeedRequestDriverList);
    }

    abstract class Presenter extends CommonPresenter<View> {
        public abstract void requestDriverList(Map<String, String> map, boolean isDialog);

        public abstract void requestDriverBind(DriverInfo driverInfo, boolean isDialog);

        public abstract void requestDriverUnbind(DriverInfo driverInfo, boolean isDialog);

        public abstract void requestDefaultDriver(DriverInfo driverInfo, boolean isDialog);

        public abstract void requestDriverInfo(String driverId, boolean isDialog);

    }
}
